package com.songlanyun.modules.marketing.groupbuy.service;

import com.baomidou.mybatisplus.core.conditions.query.LambdaQueryWrapper;
import com.baomidou.mybatisplus.extension.service.IService;
import com.songlanyun.common.utils.PageUtils;
import com.songlanyun.modules.goods.entity.GoodsSku;
import com.songlanyun.modules.goods.model.vo.ActivitySkuComItemVo;
import com.songlanyun.modules.goods.model.vo.SkuComItemVo;
import com.songlanyun.modules.marketing.groupbuy.entity.GroupBuyActivityGoods;
import com.songlanyun.modules.marketing.groupbuy.entity.GroupBuyGoodsSku;

import java.util.List;
import java.util.Map;

/**
 * 拼团商品的规格表
 *
 * @author Mark
 * @email sunlightcs@gmail.com
 * @date 2020-11-27 14:03:39
 */
public interface GroupBuyGoodsSkuService extends IService<GroupBuyGoodsSku> {


    void deleteByGroupBuyGoodsId(Long groupBuyGoodsId);

    List<GroupBuyGoodsSku> getByGroupBuyGoodsId(Long groupBuyGoodsId);


    GroupBuyGoodsSku getByGroupBuyGoodsAndSkuHashCode(Long groupBuyGoodsId,String skuHashCode);

    List<ActivitySkuComItemVo> loadSkuItemList(Long id);

    List<GroupBuyGoodsSku> listByGoodIds(Long groupBuyGoodsId);
}

